package com.hnichr.ump.autoconfigure.plan;

import com.hnichr.ump.common.Constant;
import com.hnichr.ump.common.vo.ModuleVO;
import com.hnichr.ump.plan.PlanConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnClass(PlanConfiguration.class)
@Import(PlanConfiguration.class)
@Slf4j
public class PlanAutoConfiguration {

	public PlanAutoConfiguration() {
		log.info("[AutoConfiguration==>]:Plan Module Loading");
		Constant.addModule(new ModuleVO("Plan","计划模块"));
	}
}
